package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"
	"salarypayment-case/Model"
	"salarypayment-case/modelimplementation"
)


type ChangeHourlyTransaction struct {
	itsHourlyRate float64
	abstracttransaction.ChangeClassificationTransaction
}

func (ct *ChangeHourlyTransaction) GetClassification() Model.PaymentClassification {
	return modelimplementation.CreateHourlyClassification(ct.itsHourlyRate)
}

func (ct *ChangeHourlyTransaction) GetSchedule() Model.PaymentSchedule {
	return &modelimplementation.WeeklySchedule{}
}